package com.quiz.bis.domain.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 考试组实体
 * @author ahuan
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exam_groups")
public class ExamGroup extends BaseModel {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("cover_image")
    private String coverImage;

    @TableField("main_owner_id")
    private Long mainOwnerId;

    @TableField("original_owner_id")
    private Long originalOwnerId;

    @TableField("description")
    private String description;

    @TableField("max_subgroups")
    private Integer maxSubgroups;

    @TableField("status")
    private Integer status;
}